package com.ftg.learn.controller;

import com.ftg.learn.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 消费者审控制器
 *
 * @author 布衣
 */
@RestController
public class ConsumerController {

    @Autowired
    ConsumerService consumerService;

    @GetMapping("/c1")
    public String abc(){
//        return "abc";
        return consumerService.abc();
    }

}
